//
//  LoginStep.swift
//  casdon_swiftUI
//
//  Created by ww on 2025/4/16.
//

import Combine

enum FlowError: Error {
    case stepMissing
}

/// 登录协议定义，所有登录步骤都可复用
protocol LoginStep {
    associatedtype Input
    associatedtype Output
    func execute(_ input: Input) -> AnyPublisher<Output, Error>
}

